﻿@model OES.Models.Course
@{ ViewBag.Title = "Ders Oluştur"; }
<h2>
    Ders Oluştur</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Ders</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
        <p>
            <input type="submit" value="Oluştur" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Dersler Sayfasına geri dön", "Index")
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
